import React from 'react'
import { useState } from 'react'

function App() {
    const [count, setCount] = useState(0);
    const [value, setValue] = useState('');
    const treatCount = () => {
        console.log('treatCount')
        return count + 10
    }
    return (
        <div>
            treatcount: {treatCount()} <br />
        </div>
    )
}

export default App